
package jz.pushPlugin;

import java.io.IOException;

import jz.dataCenter.ProcessRetReg;
import SoftFan.Log.wf_Log;
import SoftFan.etl.push.ISynPushPlugin;
import SoftFan.util.systemUtil;
import SoftFan.workflow.protocol.wfException;
import SoftFan.workflow.protocol.EAI.eaiException;
import SoftFan.workflow.protocol.db.wf_Db_Exception;
import SoftfanWeb.metaInfo.metaInfoException;

public class ProcessRetRegPushPlugin implements ISynPushPlugin {

	public void doExec(SoftFan.etl.dbUnit.pushDataLog.sfPushDataLog dataLog) throws wfException, eaiException, wf_Db_Exception, IOException {
		try {
			ProcessRetReg reg = new ProcessRetReg();
			reg.exec(dataLog.getPushdatalog());
		} catch (wf_Db_Exception e) {
			throw new wfException(e);
		} catch (metaInfoException e) {
			throw new wfException(e);
		} catch (Exception e) {
			wf_Log.sys_log(systemUtil.getErrorMessage(e));
		}
	}

	public void doFinished() {
	}

	public void doFree() {
	}

	public boolean canNotifyAp() {
		return false;
	}
}
